package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by magikliu on 2017/11/16.
 */

public class HomeBean extends BaseBean{

    /**
     * code : 200
     * data : {"hotActive":[{"id":"287","strech":"快！这！是！一！个！大！福！利！","sponsor":"芥末堆","cover":"59f3dcd8eaba8.jpg","contact":"李丽","location":"北京国际会议中心","action_time":"1510531200","exit_time":"1510786800","lessons":" ","uid":"2","uname":"天率校园","tname":"名人名家","photo":"5a123c6024f1a.jpg","unit":"天率科技"},{"id":"279","strech":"魔镜魔镜告诉我，谁是大学里最能讲的人","sponsor":"简言悦读会、天率校园","cover":"59efde899ced6.jpg","contact":"李丽","location":"北京","action_time":"1508457600","exit_time":"1511485200","lessons":" ","uid":"2","uname":"天率校园","tname":"娱乐赛事","photo":"5a123c6024f1a.jpg","unit":"天率科技"},{"id":"291","strech":"告白季-酷狗校园音乐会的花式脱单","sponsor":"酷狗校园俱乐部","cover":"5a0520b0103cd.png","contact":"李丽","location":"全国高校","action_time":"1509062400","exit_time":"1511139600","lessons":" 把青春写进音乐，让音乐去告白","uid":"2","uname":"天率校园","tname":"校园活动","photo":"5a123c6024f1a.jpg","unit":"天率科技"}],"active":[{"id":"233","strech":"我们的愿望是：自由的读书，读自由的书","sponsor":"天率校园","cover":"59cb917817dad.jpg","contact":"","location":"广州、南京、苏州、珠海","action_time":"1506469680","exit_time":"1495231200","lessons":" ","uid":"2","uname":"天率校园","tname":"校园活动","photo":"5a123c6024f1a.jpg","unit":"天率科技","type":"active"},{"id":"235","strech":"《我是马布里》燃炸北京大学体育场，看篮球巨星重塑荣光","sponsor":"海润影业","cover":"59cba99aad85d.jpg","contact":"","location":"北京大学体育馆","action_time":"1500746400","exit_time":"1500757200","lessons":" ","uid":"2","uname":"天率校园","tname":"明星校园","photo":"5a123c6024f1a.jpg","unit":"天率科技","type":"active"},{"id":"236","strech":"赢10万现金大奖！vivo最强王者嘉年华邀你开战","sponsor":"VIVO","cover":"59cbaaf373391.jpg","contact":"","location":"北京","action_time":"1498867200","exit_time":"1504087200","lessons":" ","uid":"2","uname":"天率校园","tname":"娱乐赛事","photo":"5a123c6024f1a.jpg","unit":"天率科技","type":"active"}],"fresh":[{"id":"220","u_id":"551","title":"倪妮 X 奇门遁甲 | 北京发布会","cover":"59df2863e776c.png,59df2863e7ae6.png,","cover_count":"0","abstract":null,"review":"0","create_time":"1507797092","name":"赵正海","photo":"otkNEwfAHg8OyftJyvaT9KLCzpi8.jpg","type":"fresh"}],"video":[{"id":"1","uid":"572","tid":"5","title":"123123","keys":null,"content":"123123","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","type":"video"}],"activePhoto":[{"id":"319","cover":"5a167b3e0eeb3.jpg"},{"id":"257","cover":"59df81be5154e.png"},{"id":"261","cover":"59e206c4511a7.jpg"},{"id":"318","cover":"5a1597425af7a.jpg"}],"userAuth":"3","number":"获取成功"}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * hotActive : [{"id":"287","strech":"快！这！是！一！个！大！福！利！","sponsor":"芥末堆","cover":"59f3dcd8eaba8.jpg","contact":"李丽","location":"北京国际会议中心","action_time":"1510531200","exit_time":"1510786800","lessons":" ","uid":"2","uname":"天率校园","tname":"名人名家","photo":"5a123c6024f1a.jpg","unit":"天率科技"},{"id":"279","strech":"魔镜魔镜告诉我，谁是大学里最能讲的人","sponsor":"简言悦读会、天率校园","cover":"59efde899ced6.jpg","contact":"李丽","location":"北京","action_time":"1508457600","exit_time":"1511485200","lessons":" ","uid":"2","uname":"天率校园","tname":"娱乐赛事","photo":"5a123c6024f1a.jpg","unit":"天率科技"},{"id":"291","strech":"告白季-酷狗校园音乐会的花式脱单","sponsor":"酷狗校园俱乐部","cover":"5a0520b0103cd.png","contact":"李丽","location":"全国高校","action_time":"1509062400","exit_time":"1511139600","lessons":" 把青春写进音乐，让音乐去告白","uid":"2","uname":"天率校园","tname":"校园活动","photo":"5a123c6024f1a.jpg","unit":"天率科技"}]
         * active : [{"id":"233","strech":"我们的愿望是：自由的读书，读自由的书","sponsor":"天率校园","cover":"59cb917817dad.jpg","contact":"","location":"广州、南京、苏州、珠海","action_time":"1506469680","exit_time":"1495231200","lessons":" ","uid":"2","uname":"天率校园","tname":"校园活动","photo":"5a123c6024f1a.jpg","unit":"天率科技","type":"active"},{"id":"235","strech":"《我是马布里》燃炸北京大学体育场，看篮球巨星重塑荣光","sponsor":"海润影业","cover":"59cba99aad85d.jpg","contact":"","location":"北京大学体育馆","action_time":"1500746400","exit_time":"1500757200","lessons":" ","uid":"2","uname":"天率校园","tname":"明星校园","photo":"5a123c6024f1a.jpg","unit":"天率科技","type":"active"},{"id":"236","strech":"赢10万现金大奖！vivo最强王者嘉年华邀你开战","sponsor":"VIVO","cover":"59cbaaf373391.jpg","contact":"","location":"北京","action_time":"1498867200","exit_time":"1504087200","lessons":" ","uid":"2","uname":"天率校园","tname":"娱乐赛事","photo":"5a123c6024f1a.jpg","unit":"天率科技","type":"active"}]
         * fresh : [{"id":"220","u_id":"551","title":"倪妮 X 奇门遁甲 | 北京发布会","cover":"59df2863e776c.png,59df2863e7ae6.png,","cover_count":"0","abstract":null,"review":"0","create_time":"1507797092","name":"赵正海","photo":"otkNEwfAHg8OyftJyvaT9KLCzpi8.jpg","type":"fresh"}]
         * video : [{"id":"1","uid":"572","tid":"5","title":"123123","keys":null,"content":"123123","url":"http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4","cover":"http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg","status":"0","view":"0","comment":"0","create_time":"0","type":"video"}]
         * activePhoto : [{"id":"319","cover":"5a167b3e0eeb3.jpg"},{"id":"257","cover":"59df81be5154e.png"},{"id":"261","cover":"59e206c4511a7.jpg"},{"id":"318","cover":"5a1597425af7a.jpg"}]
         * userAuth : 3
         * number : 获取成功
         */

        @SerializedName("userAuth")
        private String userAuth;
        @SerializedName("number")
        private String number;
        @SerializedName("hotActive")
        private List<HotActiveBean> hotActive;
        @SerializedName("active")
        private List<ActiveBean> active;
        @SerializedName("fresh")
        private List<FreshBean> fresh;
        @SerializedName("video")
        private List<VideoBean> video;
        @SerializedName("activePhoto")
        private List<ActivePhotoBean> activePhoto;

        public String getUserAuth() {
            return userAuth;
        }

        public void setUserAuth(String userAuth) {
            this.userAuth = userAuth;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public List<HotActiveBean> getHotActive() {
            return hotActive;
        }

        public void setHotActive(List<HotActiveBean> hotActive) {
            this.hotActive = hotActive;
        }

        public List<ActiveBean> getActive() {
            return active;
        }

        public void setActive(List<ActiveBean> active) {
            this.active = active;
        }

        public List<FreshBean> getFresh() {
            return fresh;
        }

        public void setFresh(List<FreshBean> fresh) {
            this.fresh = fresh;
        }

        public List<VideoBean> getVideo() {
            return video;
        }

        public void setVideo(List<VideoBean> video) {
            this.video = video;
        }

        public List<ActivePhotoBean> getActivePhoto() {
            return activePhoto;
        }

        public void setActivePhoto(List<ActivePhotoBean> activePhoto) {
            this.activePhoto = activePhoto;
        }

        public static class HotActiveBean implements Serializable {
            /**
             * id : 287
             * strech : 快！这！是！一！个！大！福！利！
             * sponsor : 芥末堆
             * cover : 59f3dcd8eaba8.jpg
             * contact : 李丽
             * location : 北京国际会议中心
             * action_time : 1510531200
             * exit_time : 1510786800
             * lessons :
             * uid : 2
             * uname : 天率校园
             * tname : 名人名家
             * photo : 5a123c6024f1a.jpg
             * unit : 天率科技
             */

            @SerializedName("id")
            private String id;
            @SerializedName("strech")
            private String strech;
            @SerializedName("sponsor")
            private String sponsor;
            @SerializedName("cover")
            private String cover;
            @SerializedName("view")
            private String view;
            @SerializedName("contact")
            private String contact;
            @SerializedName("location")
            private String location;
            @SerializedName("action_time")
            private String actionTime;
            @SerializedName("exit_time")
            private String exitTime;
            @SerializedName("lessons")
            private String lessons;
            @SerializedName("uid")
            private String uid;
            @SerializedName("uname")
            private String uname;
            @SerializedName("tname")
            private String tname;
            @SerializedName("photo")
            private String photo;
            @SerializedName("unit")
            private String unit;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStrech() {
                return strech;
            }

            public void setStrech(String strech) {
                this.strech = strech;
            }

            public String getSponsor() {
                return sponsor;
            }

            public void setSponsor(String sponsor) {
                this.sponsor = sponsor;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getActionTime() {
                return actionTime;
            }

            public void setActionTime(String actionTime) {
                this.actionTime = actionTime;
            }

            public String getExitTime() {
                return exitTime;
            }

            public void setExitTime(String exitTime) {
                this.exitTime = exitTime;
            }

            public String getLessons() {
                return lessons;
            }

            public void setLessons(String lessons) {
                this.lessons = lessons;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getTname() {
                return tname;
            }

            public void setTname(String tname) {
                this.tname = tname;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }

        public static class ActiveBean implements Serializable {
            /**
             * id : 233
             * strech : 我们的愿望是：自由的读书，读自由的书
             * sponsor : 天率校园
             * cover : 59cb917817dad.jpg
             * contact :
             * location : 广州、南京、苏州、珠海
             * action_time : 1506469680
             * exit_time : 1495231200
             * lessons :
             * uid : 2
             * uname : 天率校园
             * tname : 校园活动
             * photo : 5a123c6024f1a.jpg
             * unit : 天率科技
             * type : active
             */

            @SerializedName("id")
            private String id;
            @SerializedName("strech")
            private String strech;
            @SerializedName("sponsor")
            private String sponsor;
            @SerializedName("cover")
            private String cover;
            @SerializedName("view")
            private String view;
            @SerializedName("contact")
            private String contact;
            @SerializedName("location")
            private String location;
            @SerializedName("action_time")
            private String actionTime;
            @SerializedName("exit_time")
            private String exitTime;
            @SerializedName("lessons")
            private String lessons;
            @SerializedName("uid")
            private String uid;
            @SerializedName("uname")
            private String uname;
            @SerializedName("tname")
            private String tname;
            @SerializedName("photo")
            private String photo;
            @SerializedName("unit")
            private String unit;
            @SerializedName("type")
            private String type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStrech() {
                return strech;
            }

            public void setStrech(String strech) {
                this.strech = strech;
            }

            public String getSponsor() {
                return sponsor;
            }

            public void setSponsor(String sponsor) {
                this.sponsor = sponsor;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getActionTime() {
                return actionTime;
            }

            public void setActionTime(String actionTime) {
                this.actionTime = actionTime;
            }

            public String getExitTime() {
                return exitTime;
            }

            public void setExitTime(String exitTime) {
                this.exitTime = exitTime;
            }

            public String getLessons() {
                return lessons;
            }

            public void setLessons(String lessons) {
                this.lessons = lessons;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getTname() {
                return tname;
            }

            public void setTname(String tname) {
                this.tname = tname;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class FreshBean implements Serializable{
            /**
             * id : 220
             * u_id : 551
             * title : 倪妮 X 奇门遁甲 | 北京发布会
             * cover : 59df2863e776c.png,59df2863e7ae6.png,
             * cover_count : 0
             * abstract : null
             * review : 0
             * create_time : 1507797092
             * name : 赵正海
             * photo : otkNEwfAHg8OyftJyvaT9KLCzpi8.jpg
             * type : fresh
             */

            @SerializedName("id")
            private String id;
            @SerializedName("u_id")
            private String uId;
            @SerializedName("title")
            private String title;
            @SerializedName("cover")
            private String cover;
            @SerializedName("view")
            private String view;
            @SerializedName("cover_count")
            private String coverCount;
            @SerializedName("abstract")
            private Object abstractX;
            @SerializedName("review")
            private String review;
            @SerializedName("create_time")
            private String createTime;
            @SerializedName("name")
            private String name;
            @SerializedName("photo")
            private String photo;
            @SerializedName("type")
            private String type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUId() {
                return uId;
            }

            public void setUId(String uId) {
                this.uId = uId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getCoverCount() {
                return coverCount;
            }

            public void setCoverCount(String coverCount) {
                this.coverCount = coverCount;
            }

            public Object getAbstractX() {
                return abstractX;
            }

            public void setAbstractX(Object abstractX) {
                this.abstractX = abstractX;
            }

            public String getReview() {
                return review;
            }

            public void setReview(String review) {
                this.review = review;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class VideoBean implements Serializable{
            /**
             * id : 1
             * uid : 572
             * tid : 5
             * title : 123123
             * keys : null
             * content : 123123
             * url : http://gslb.miaopai.com/stream/ed5HCfnhovu3tyIQAiv60Q__.mp4
             * cover : http://a4.att.hudong.com/05/71/01300000057455120185716259013.jpg
             * status : 0
             * view : 0
             * comment : 0
             * create_time : 0
             * type : video
             */

            @SerializedName("id")
            private String id;
            @SerializedName("uid")
            private String uid;
            @SerializedName("name")
            private String name;
            @SerializedName("photo")
            private String photo;
            @SerializedName("tid")
            private String tid;
            @SerializedName("title")
            private String title;
            @SerializedName("keys")
            private Object keys;
            @SerializedName("content")
            private String content;
            @SerializedName("url")
            private String url;
            @SerializedName("cover")
            private String cover;
            @SerializedName("status")
            private String status;
            @SerializedName("view")
            private String view;
            @SerializedName("comment")
            private String comment;
            @SerializedName("create_time")
            private String createTime;
            @SerializedName("tname")
            private String tname;
            @SerializedName("type")
            private String type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getTid() {
                return tid;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getKeys() {
                return keys;
            }

            public void setKeys(Object keys) {
                this.keys = keys;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getComment() {
                return comment;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getTname() {
                return tname;
            }

            public void setTname(String tname) {
                this.tname = tname;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class ActivePhotoBean {
            /**
             * id : 319
             * cover : 5a167b3e0eeb3.jpg
             */

            @SerializedName("id")
            private String id;
            @SerializedName("type_name")
            private String type_name;
            @SerializedName("cover")
            private String cover;
            @SerializedName("url")
            private String url;
            @SerializedName("sort")
            private String sort;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType_name() {
                return type_name;
            }

            public void setType_name(String type_name) {
                this.type_name = type_name;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }
        }
    }
}
